package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author thunderobot
 */
@Data
public class Page {

    @NotNull
    @Min(1)
    private Integer currentPage;

    @NotNull
    @Max(50)
    private Integer pageSize;
}
